package com.bizfx.component.authentication
{
	import mx.core.IUIComponent;

	[Event(name="loginSubmit", type="com.bizfx.events.LoginUISubmitEvent")]
	
	[Event(name="loginCancel", type="com.bizfx.events.LoginUICancelEvent")] 
	
	/**
	 * 登录界面接口
	 */ 
	public interface ILoginUI extends IUIComponent
	{
		/**
		 * 用户名
		 */
		function get userName():String;
		function set userName(value:String):void;
		
		/**
		 * 用户密码
		 */
		function get password():String;
		function set password(value:String):void;
		
		function loginFailed(errorMessage:String):void;
		
		function reset():void;
		function showUI():void;
		function hideUI():void;	
	}
}